package com.siyuanren.gcocp.mapper;

import com.siyuanren.gcocp.dto.ActiveInviteDTO;
import com.siyuanren.gcocp.mapper.base.WxActiveMapper;
import com.siyuanren.gcocp.vo.QueryActiveVO; /**
 * Created by   anxing
 * Project_name gcocp-parent
 * Path         com.siyuanren.gcocp.mapper
 * Date         2018/6/12
 * Time         16:19
 * Description
 */
public interface MyWxActiveMapper extends WxActiveMapper{
    /**
     * 获取活动相关信息
     * @param activeVO
     * @return
     * SELECT c.id courseId, c.`course_name`, a.* FROM wx_active a, wx_voucher v, wx_course c
    WHERE a.`id`=1 AND a.`sponsor_voucher_id`=v.id AND v.`course_id`=c.`id` AND a.`available`=1
     */
    ActiveInviteDTO getActiveDetail(QueryActiveVO activeVO);
}
